package cn.adviceclient.features.module.impl.client;

import cn.adviceclient.features.module.Category;
import cn.adviceclient.features.module.Module;
import cn.adviceclient.features.value.ColorSetting;
import cn.adviceclient.features.value.ModeSetting;

import java.awt.*;
import java.util.List;

public class InterFace extends Module {
    public final ModeSetting colorMode = new ModeSetting("Color Mode", "Color Mode", "Fade",List.of("Static","Fade"));
    public final ColorSetting mainColor = new ColorSetting("Main Color", "Main Color", new Color(190, 0, 0));
    public final ColorSetting secondColor = new ColorSetting("Second Color","Second Color",new Color(255,255,255),() -> colorMode.is("Fade"));
    public InterFace(){
        super("InterFace","Client Theme", Category.CLIENT);
        this.settings.add(mainColor);
    }

    public Color getMainColor() {
        return mainColor.getValue();
    }
}
